﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Cache" content="no-cache" />
    <title>[个人]-获取活动列表</title>
    <link href="../test/style.css" rel="stylesheet" />
</head>
<body>
    <form action="../api/v1.1/action.ashx" method="post">
        <div class="doc_header">
            <h1>[个人]-获取活动列表</h1>
            地址 : ./api/v1.1/action.ashx
        <br />
            调用方式: GET
        <br />
            <a href="#sysemparameters">系统参数</a>
            <a href="#operationparameters">操作参数</a>
            <a href="#result">返回结果</a>
            <a href="#result_data">Data</a>
            <a href="../Test/TestGetActivityList4User.html" target="_blank">示例</a>
        </div>
        <div class="doc_body">
            <h2 id="sysemparameters">系统参数</h2>
            <table class="def_table">
                <tr>
                    <th class="c_name">Name
                    </th>
                    <th class="c_type">Type
                    </th>
                    <th class="c_defaultvalue">DefaultValue
                    </th>
                    <th class="c_description">Decription
                    </th>
                </tr>
                <tr>
                    <td>sys:cmd
                    </td>
                    <td>string
                    </td>
                    <td>GetActivityList4User
                    </td>
                    <td>操作命令
                    </td>
                </tr>
                <tr>
                    <td>sys:token
                    </td>
                    <td>string
                    </td>
                    <td></td>
                    <td>认证标识
                    </td>
                </tr>
            </table>
            <h2 id="operationparameters">操作参数</h2>
            <table class="def_table">
                <tr>
                    <th class="c_name">Name
                    </th>
                    <th class="c_type">Type
                    </th>
                    <th class="c_defaultvalue">DefaultValue
                    </th>
                    <th class="c_description">Decription
                    </th>
                </tr>
                <tr>
                    <td>op:type
                    </td>
                    <td>string
                    </td>
                    <td></td>
                    <td>类型,0:未开始,1:已参加,2:已发起
                    </td>
                </tr>
                <tr>
                    <td>op:page
                    </td>
                    <td>int
                    </td>
                    <td></td>
                    <td>页码从0开始
                    </td>
                </tr>
            </table>
            <h2 id="result">返回结果</h2>
            <table class="def_table">
                <tr>
                    <th class="c_name">Name
                    </th>
                    <th class="c_type">Type
                    </th>
                    <th class="c_defaultvalue">DefaultValue
                    </th>
                    <th class="c_description">Decription
                    </th>
                </tr>
                <tr>
                    <td>IsSuccess
                    </td>
                    <td>bool
                    </td>
                    <td></td>
                    <td>是否操作成功
                    </td>
                </tr>
                <tr>
                    <td>ErrorCode
                    </td>
                    <td>int
                    </td>
                    <td></td>
                    <td>错误码
                    </td>
                </tr>
                <tr>
                    <td>Message
                    </td>
                    <td>string
                    </td>
                    <td></td>
                    <td>错误消息
                    </td>
                </tr>
                <tr>
                    <td>Data
                    </td>
                    <td>object
                    </td>
                    <td></td>
                    <td>数据结果
                    </td>
                </tr>
            </table>
            <h2 id="result_data">Data</h2>
            <table class="def_table">
                <tr>
                    <th class="c_name">Name
                    </th>
                    <th class="c_type">Type
                    </th>
                    <th class="c_defaultvalue">DefaultValue
                    </th>
                    <th class="c_description">Decription
                    </th>
                </tr>
                <tr>
                    <td>Start</td>
                    <td>int</td>
                    <td></td>
                    <td>本页数据的起始数</td>
                </tr>
                <tr>
                    <td>Limit</td>
                    <td>int</td>
                    <td></td>
                    <td>本页预计获取数据数</td>
                </tr>
                <tr>
                    <td>Total</td>
                    <td>int</td>
                    <td></td>
                    <td>总数</td>
                </tr>
                <tr>
                    <td>Page</td>
                    <td>int</td>
                    <td></td>
                    <td>当前页码</td>
                </tr>
                <tr>
                    <td>IsTheEnd</td>
                    <td>bool</td>
                    <td></td>
                    <td>结束页，没有下一页了</td>
                </tr>
                <tr>
                    <td>Items</td>
                    <td>Array</td>
                    <td></td>
                    <td>活动数组</td>
                </tr>
            </table>
            <h3>Data-Item</h3>
            <table class="def_table">
                <tr>
                    <th class="c_name">Name
                    </th>
                    <th class="c_type">Type
                    </th>
                    <th class="c_defaultvalue">DefaultValue
                    </th>
                    <th class="c_description">Decription
                    </th>
                </tr>
                <tr>
                    <td>Id</td>
                    <td>Guid</td>
                    <td></td>
                    <td>活动ID</td>
                </tr>
                <tr>
                    <td>Title</td>
                    <td>string</td>
                    <td></td>
                    <td>活动标题</td>
                </tr>
                <tr>
                    <td>CategoryCode</td>
                    <td>string</td>
                    <td></td>
                    <td>活动类别</td>
                </tr>
                <tr>
                    <td>Address</td>
                    <td>string</td>
                    <td></td>
                    <td>活动地址</td>
                </tr>
                <tr>
                    <td>BeginTime</td>
                    <td>DateTime</td>
                    <td></td>
                    <td>开始时间</td>
                </tr>
                <tr>
                    <td>BeginTime</td>
                    <td>DateTime</td>
                    <td></td>
                    <td>结束时间</td>
                </tr>
                <tr>
                    <td>EndTime</td>
                    <td>DateTime</td>
                    <td></td>
                    <td>结束时间</td>
                </tr>
                <tr>
                    <td>IsFinished</td>
                    <td>bool</td>
                    <td></td>
                    <td>是否完成</td>
                </tr>
                <tr>
                    <td>MaxPersonCount</td>
                    <td>int</td>
                    <td></td>
                    <td>最大人数</td>
                </tr>
                <tr>
                    <td>CurrentPersonCount</td>
                    <td>int</td>
                    <td></td>
                    <td>当前人数</td>
                </tr>
                <tr>
                    <td>Longitude</td>
                    <td>double</td>
                    <td></td>
                    <td>经度</td>
                </tr>
                <tr>
                    <td>Latitude</td>
                    <td>double</td>
                    <td></td>
                    <td>纬度</td>
                </tr>
                <tr>
                    <td>Distance</td>
                    <td>double</td>
                    <td></td>
                    <td>距离(米)</td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
